package tech.zhiwei.frostmetal.modules.mydata.manage.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import tech.zhiwei.frostmetal.core.base.dto.BaseDTO;


/**
 * 标准数据字段 DTO
 *
 * @author LIEN
 * @since 2024/11/09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "标准数据字段")
public class DataFieldDTO extends BaseDTO {
    @Schema(description = "所属数据")
    private Long dataId;

    @Schema(description = "字段编号")
    private String fieldCode;

    @Schema(description = "字段名称")
    private String fieldName;

    @Schema(description = "字段类型")
    private String fieldType;

    @Schema(description = "字段默认值")
    private String defaultValue;

    @Schema(description = "是否标识")
    private Boolean isId = false;

    @Schema(description = "显示模式")
    private Boolean displayMode = false;
}
